package com.us.usws.biz.sms;

import java.util.List;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import com.us.usws.common.exception.SMSSendException;

public class UswsSMSSender implements SMSSender {

	private static Log log = LogFactory.getFactory().getInstance(UswsSMSSender.class);

	@Override
	public void send(String mobile, String content) throws SMSSendException {
		log.info("{SMSSender} :: Sent to [" + mobile + "], content is [" + content + "].");
	}

	@Override
	public void sendBatch(List<String> mobiles, String content) throws SMSSendException {
		for (String each : mobiles) {
			log.info("{SMSBatchSender} :: Sent to [" + each + "], content is [" + content + "].");
		}
	}

}
